/**
 * 
 */
package org.cuatrovientos.vehicle;

/**
 * car class
 * @author Isma
 *
 */
public class Car extends Vehicle {
	private String numberPlate;
	
	/**
	 * @return the numberPlate
	 */
	public String getNumberPlate() {
		return numberPlate;
	}


	/**
	 * @param numberPlate the numberPlate to set
	 */
	public void setNumberPlate(String numberPlate) {
		this.numberPlate = numberPlate;
	}


	/**
	 * constructor
	 * @param name
	 * @param numberPlate
	 */	
	public Car(String name, String numberPlate) {
		super(name);
		this.numberPlate = numberPlate;
	}
	
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Car [numberPlate=" + numberPlate + ", name=" + name
				+ ", speed=" + speed + ", gas=" + gas + ", drift=" + drift
				+ ", rnd=" + rnd + "]";
	}

}
